/*
 * request.c
 *
 *  Created on: Mar 4, 2012
 *      Author: User
 */

#include <stdlib.h>
#include "request.h"

request* create_request(int the_step,
					    request_type type_of_request){
    request* my_request = (request*) malloc(sizeof(request));
    my_request->step = the_step;
    my_request->type_of_request = type_of_request;

    //printf("\nMy request type is: %d\n", my_request->type_of_request);

    return my_request;
}

request* destroy_request(request* the_request) {
	free(the_request);
	return 0;
}
